package com.lxmes.hr.mapper;

import java.util.List;
import com.lxmes.hr.domain.NcRewardPunishment;

/**
 * 奖惩考核指标Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-25
 */
public interface NcRewardPunishmentMapper 
{
    /**
     * 查询奖惩考核指标
     * 
     * @param id 奖惩考核指标主键
     * @return 奖惩考核指标
     */
    public NcRewardPunishment selectNcRewardPunishmentById(Long id);

    /**
     * 查询奖惩考核指标列表
     * 
     * @param ncRewardPunishment 奖惩考核指标
     * @return 奖惩考核指标集合
     */
    public List<NcRewardPunishment> selectNcRewardPunishmentList(NcRewardPunishment ncRewardPunishment);

    /**
     * 新增奖惩考核指标
     * 
     * @param ncRewardPunishment 奖惩考核指标
     * @return 结果
     */
    public int insertNcRewardPunishment(NcRewardPunishment ncRewardPunishment);

    /**
     * 修改奖惩考核指标
     * 
     * @param ncRewardPunishment 奖惩考核指标
     * @return 结果
     */
    public int updateNcRewardPunishment(NcRewardPunishment ncRewardPunishment);

    /**
     * 删除奖惩考核指标
     * 
     * @param id 奖惩考核指标主键
     * @return 结果
     */
    public int deleteNcRewardPunishmentById(Long id);

    /**
     * 批量删除奖惩考核指标
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcRewardPunishmentByIds(Long[] ids);
}
